package com.fudian.spark_platform

import com.fudian.spark_platform.Utils.AssertUtils
import AssertUtils._
import org.ansj.library.DicLibrary
import org.ansj.splitWord.analysis.DicAnalysis

object testAnsj{
    def main(args: Array[String]) {
        loadANSJDict()
        DicLibrary.insert(DicLibrary.DEFAULT,"最高达","n",1000)
        val res = DicAnalysis.parse("我最高达180厘米")
        System.out.println(res)
    }
}